import request from '@/api/request'
function studentlist(params) {
    return request({
        url: '/admin/xy/student/list',
        method: 'get',
        params
    })
}

function clazzlist(params) {
    return request({
        url: '/admin/xy/clazz/list',
        method: 'get',
        params
    })
}

function studentsave(params) {
    return request({
        url: '/admin/xy/student/save',
        method: 'post',
        params

    })
}

function studentdel(params) {
    return request({
        url: '/admin/xy/student/del',
        method: 'get',
        params

    })
}
function studentdetail(params) {
    return request({
        url: '/admin/xy/student/detail',
        method: 'get',
        params

    })
}
function studentupdate(params) {
    return request({
        url: '/admin/xy/student/update',
        method: 'post',
        params

    })
}

function costlist(params) {
    return request({
        url: '/admin/xy/cost/list',
        method: 'get',
        params

    })
}

export default {
    studentlist,
    clazzlist,
    studentsave,
    studentdel,
    studentdetail,
    studentupdate,
    costlist
}